<div id="editOwnerRepairModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
     aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <h3 class="m-t-none m-b ">修改业主报修</h3>
                <div class="ibox-content">
                    <div>
                        <div>
                            <!-- <div class="form-group row">
                                <label class="col-sm-2 col-form-label">报修范围</label>
                                <div class="col-sm-10">
                                    <select class="custom-select" v-model="editOwnerRepairInfo.repairObjType"  @change="_changeEditRepairObjType()">
                                        <option selected disabled value="">必填，请选择报修范围</option>
                                        <option  value="001">小区</option>
                                        <option  value="002">楼栋</option>
                                        <option  value="003">单元</option>
                                        <option  value="004">房屋</option>
                                    </select></div>
                            </div>
                            <div class="form-group row"  v-if="editOwnerRepairInfo.repairObjType != '001'">
                                <label class="col-sm-2 col-form-label">归属楼栋</label>
                                <div class="col-sm-10">
                                    <vc:create path="property/floorSelect2" parentModal="editOwnerRepairModel"
                                        namespace="editOwnerRepair"></vc:create>
                                </div>
                            </div>
                            <div class="form-group row" v-if="editOwnerRepairInfo.repairObjType == '003' ||  editOwnerRepairInfo.repairObjType == '004'">
                                <label class="col-sm-2 col-form-label">归属单元</label>
                                <div class="col-sm-10">
                                    <vc:create path="property/unitSelect2" parentModal="editOwnerRepairModel"
                                        callBackListener="editOwnerRepair" callBackFunction="notify2"
                                        namespace="editOwnerRepair"></vc:create>
                                </div>
                            </div>
                            <div class="form-group row" v-if="editOwnerRepairInfo.repairObjType == '004'">
                                <label class="col-sm-2 col-form-label">归属房屋</label>
                                <div class="col-sm-10">
                                    <vc:create path="property/roomSelect2" parentModal="editOwnerRepairModel"
                                        callBackListener="editOwnerRepair" callBackFunction="notify"
                                        namespace="editOwnerRepair"></vc:create>
                                </div>
                            </div> -->
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">报修类型</label>
                                <div class="col-sm-10">
                                    <select class="custom-select" v-model="editOwnerRepairInfo.repairType">
                                        <option selected disabled value="">必填，请选择报修类型</option>
                                        <option v-for="(item,index) in editOwnerRepairInfo.repairSettings"
                                            :value="item.repairType">{{item.repairTypeName}}</option>
                                    </select></div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">报修人</label>
                                <div class="col-sm-10">
                                    <input v-model="editOwnerRepairInfo.repairName" type="text" placeholder="必填，请填写报修人"
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">联系方式</label>
                                <div class="col-sm-10">
                                    <input v-model="editOwnerRepairInfo.tel" type="number" placeholder="必填，请填写联系方式"
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">预约时间</label>
                                <div class="col-sm-10">
                                    <input v-model="editOwnerRepairInfo.appointmentTime" type="text"
                                           placeholder="必填，请填写预约时间" class="form-control editAppointmentTime">
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">报修内容</label>
                                <div class="col-sm-10">
                                    <textarea placeholder="必填，请填写报修内容" cols="15" class="form-control"
                                              v-model="editOwnerRepairInfo.context"></textarea></div>
                            </div>

                            <div class="ibox-content">
                                <button class="btn btn-primary float-right" type="button"
                                        v-on:click="editOwnerRepair()"><i class="fa fa-check"></i>&nbsp;提交
                                </button>
                                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                                        data-dismiss="modal">取消
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
